var appTypeList = [{
	label:'所有',
	value:2,
},{
	label:'IOS',
	value:0,
},{
	label:'安卓',
	value:1,
}]
var enabledList =  [{
	label:'不启用',
	value:0
},{
	label:'启用',
	value:1
}]
function typeMapList(key){
	var map = new Map();
	map.set('apptype',appTypeList);
	map.set('enabled',enabledList);
	return map.get(key);
}
export function getStaticMapList(type,value){
	var returnList = typeMapList(type);
	if(returnList === undefined){
		return returnList;
	}
	var i=0;
	var len=returnList.length;
	for(i=0; i < len ; i++){
		if(returnList[i].value === value){
			return  returnList[i].label;
		}
	}
}